package com.prod.system.domain;

import com.prod.common.annotation.Excel;
import com.prod.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 店铺图片列表对象 t_shop_images
 *
 * @author zhw
 * @date 2024-05-09
 */
public class TShopImages extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long deptId;

    /**
     * 店铺id
     */
    @Excel(name = "店铺id")
    private Long shopId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String prodName;

    /**
     * 原始图片路劲
     */
    @Excel(name = "原始图片路劲")
    private String oldUrl;

    /**
     * 修复图片路劲
     */
    @Excel(name = "修复图片路劲")
    private String newOld;

    /**
     * 修复图片路劲
     */
    @Excel(name = "状态")
    private Integer status;
    private TShop shopName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdName() {
        return prodName;
    }

    public void setOldUrl(String oldUrl) {
        this.oldUrl = oldUrl;
    }

    public String getOldUrl() {
        return oldUrl;
    }

    public void setNewOld(String newOld) {
        this.newOld = newOld;
    }

    public String getNewOld() {
        return newOld;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("shopId", getShopId())
                .append("prodName", getProdName())
                .append("oldUrl", getOldUrl())
                .append("newOld", getNewOld())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public void setShopName(TShop shopName) {
        this.shopName = shopName;
    }

    public TShop getShopName() {
        return shopName;
    }
}
